<ul id="menu" class="list-group">
    <li class="list-group-item">
        <a href="#" data-toggle="collapse" data-target="#strategy_detail">
            <span>攻略管理</span>
        </a>
        <ul class="in" id="strategy_detail">
            <li class="strategy"><a href="/strategy/list.do">大攻略管理</a></li>
            <li class="strategyCatalog"><a href="/strategyCatalog/list.do">攻略分类管理</a></li>
            <li class="strategyDetail"><a href="/strategyDetail/list.do">攻略文章管理</a></li>

        </ul>
    </li>
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#strategy_detail">
			<span>游记管理</span>
		</a>
		<ul class="in" id="strategy_detail">
			<li class="travelAudit"><a href="/travelAudit/list.do">待审核游记</a></li>
			<li class="travelRelease"><a href="/travelRelease/list.do">已发布游记</a></li>
			<li class="travelCommend"><a href="/travelCommend/list.do">游记推荐管理</a></li>

		</ul>
	</li>
    <li class="list-group-item">
        <a href="#" data-toggle="collapse" data-target="#strategy_detail">
            <span>平台管理</span>
        </a>
        <ul class="in" id="strategy_detail">
            <li class="user"><a href="/user/list.do">注册用户管理</a></li>
            <li class="region"><a href="/region/list.do">地区管理</a></li>

        </ul>
    </li>


<script type="text/javascript">
	var url = location.pathname;//    /systemDictionary/list.do
	url = url.substring(1);//  systemDictionary/list.do
    var indexE = url.indexOf("/");
    var currentMenu = url.substring(0, indexE);//   systemDictionary

    $(".in li."+currentMenu).addClass("active");
</script>
